import {createStore,combineReducers,applyMiddleware} from 'redux';
import thunk from 'redux-thunk';
import officalReducer from './reducers/offical.reduce';
import imgReducer from './reducers/img.reduce';

const reducer = combineReducers({
    offical:officalReducer,
    img:imgReducer
})

const store = createStore(reducer,applyMiddleware(thunk));

export default store